@extends('layout')

@section('css')

@endsection

@section('body')
    <div class="col-md-6">
        <form action="{{ URL::route('storePost') }}" method="post">
            <input type="hidden" name="_token" value="{{ csrf_token() }}"/>

            <div class="form-group">
                <input type="text" name="title" placeholder="title" id="title" class="form-control"/>
            </div>
            <div class="form-group">
                <textarea name="content" id="content" cols="30" class="form-control" rows="10"></textarea>
            </div>
            <div class="form-group">
                <input type="submit" value="submit" class="btn btn-primary"/>
            </div>
        </form>
    </div>
@endsection

@section('js')
    <script>
    $(function () {

    });
    </script>
@endsection